#include <iostream>

namespace foo {
        typedef unsigned char u8;
        int aa = 7;
};

int main()
{
        foo::u8 c;

        c = 'a';
        std::cout << c << std::endl;

#if 0
        std::cout << foo::aa << std::endl;
#else
        using namespace foo;
        std::cout << aa << std::endl;
#endif

        return 0;
}
